<HTML>
<HEAD>
<link rel=stylesheet type="text/css" href="styles.css">
<TITLE>Using Simkin</TITLE>
</HEAD>
<BODY>

<H1>
Using Simkin with your C++ application</H1>
<hr>
Simkin for C++ is distributed in source code format. It has been written in C++
using templates.
<P>Typically you build Simkin into a library to link with your application.
<p>We supply some example project files which build a static library or dynamic library (Windows only).
<ul>
<LI>
Makefile - for use with Linux and gcc</LI>
<LI>
Simkin.dsw - workspace for use with Visual C++ 6 on Windows </LI>
<LI>
Simkin_VSNET.sln - "solution" (sic!) for use with Visual C++ .net on Windows </LI>
<LI>
SimkinCE.vcw - workspace for use with Embedded Visual C++ 3.0 for Windows CE</LI>
</UL>
in all cases, you will have to add the correct include and libraries for your Xerces-C or Expat distribution.
<p>
Simkin source files and classes are all prefixed with "sk" to prevent name
clashes with classes in your own application.
<p>
Simkin is composed of a core interpreter, plus support for XML and our own "TreeNode" files.
<p>
Simkin supports three XML libraries:
<ul>
<li>Expat - this is used in conjunction with Simkin's own XML Document Object Model classes. You need to obtain Expat separately from <a href="http://expat.sourceforge.net" target="_blank">http://expat.sourceforge.net</a>. The version currently integrated with Simkin is <b>1.95.5</b><p>
<b>Note:</b> if you are building for Windows CE or Symbian, you'll currently need our special ports of the Expat library, which you can download <a href="http://www.simkin.co.uk/download/Expat-1.95.5-ce-sym.zip">from the Simkin site</a>
<p>
</li>
<li>Xerces-C from the Apache Foundation. This library is also *not* included in the Simkin distribution, it can be obtained from <a href="http://xml.apache.org/xerces-c">http://xml.apache.org/xerces-c</a><br>The version currently integrated with Simkin is <b>2.1.0</b><br><small>Note for Visual C++ for Windows: you need to build your applications with Code Generation set to "Multithreaded DLL" when using the Xerces-c library</small></li>
<p>
<li>Microsoft MSXML - from Microsoft Corporation. The library uses the COM classes from msxml.dll.
<br><small>Note: this only works on Windows platforms.</small>
</li>
</ul>
Each file format has its own associated classes:<p>
<table border=1>
<tr><th>File Format</th><th>Classes</th></tr>
<tr><td>TreeNode</td><td><a href="api/classskTreeNodeObject.html">skTreeNodeObject</a></td></tr>
<tr><td>Expat XML</td><td><a href="api/classskElementObject.html">skElementObject</a> and <a href="api/classskElementExecutable.html">skElementExecutable</a></td></tr>
<tr><td>Xerces XML</td><td><a href="api/classskXMLElementObject.html">skXMLElementObject</a> and <a href="api/classskXMLExecutable.html">skXMLExecutable</a></td></tr>
<tr><td>Microsoft MSXML</td><td><a href="api/classskMSXMLElementObject.html">skMSXMLElementObject</a> and <a href="api/classskMSXMLExecutable.html">skMSXMLExecutable</a></td></tr>
</table>
<p>
</BODY>
</HTML>
